// 导航栏鼠标移入高亮显示
var nav = document.getElementById("nav_text1");
var	oLi = nav.getElementsByTagName("li");

for(i = 0;i<oLi.length;i++){
	
	
	if (oLi[i].className != "active") {
		oLi[i].onmouseover = function(){
			this.style.color = "#FF4500";
			// this.style.backgroundColor = "#3fabcc";
			this.style.borderColor = "#FF4500";
		}
		oLi[i].onmouseout = function(){
			this.style.color = "white";
			// this.style.backgroundColor = "#7A7A7B";
			this.style.borderColor = "white";
		}
	}
	// console.log(oLi[0]);
	
}

// 移动端导航栏打开关闭
var oBtn = document.getElementById("btn");
var aText1 = document.getElementById("text");

oBtn.onmouseover = function(){
	aText1.style.display = "block";
}
oBtn.onmouseout = function(){
	aText1.style.display = "none";
}
// alert(d);
// oBtn.onclick = function(){
// 	if(aText1.style.display == "none"){
// 		aText1.style.display = "block";
// 	}else{
// 		aText1.style.display = "none";
// 	}
// }